package algorithm.leetcode;

public class TreeNode {
    public int val;
    public String name;
    public TreeNode left;
    public TreeNode right;

    public TreeNode(String name) {
        this.name = name;
    }

    public TreeNode(int x) {
        val = x;
    }

    @Override
    public String toString() {
        return "TreeNode{" +
                "val=" + val +
                ", name='" + name + '\'' +
                '}';
    }
}
